package com.dormitory.management.system.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("修改用户密码API")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserApi {
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String username;
    /**
     * 原密码
     */
    @ApiModelProperty(value = "原密码")
    private String password;

    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码")
    private String newPassword;
    /**
     * 新密码(2)
     */
    @ApiModelProperty(value = "新密码(2)")
    private String reNewPassword;
}
